<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<html>
	<head>
		<title>检查材料清单</title>
		<script type="text/javascript">
			$(document).ready(function(){
				$("#editMaterialCheckForm").validationEngine({
					ajaxFormValidation: true,
					onAjaxFormComplete: function (status, form, json, options){
						if (json === 1) {
							art.dialog.tips("<label class='success'>修改成功！</label>", 1);
			        		$("button").attr("disabled", true);
							window.parent.location.reload();
						}else{
							art.dialog.tips("<label class='error'>修改失败，请刷新页面重试！</label>", 1);
						}
					}
				});
			});
		</script>
	</head>
	<body>
		<div class="container_16">
			<div class="grid_16">
				<div class="content_top">
					<span>检查材料清单</span>
				</div>
				<div class="content_bottom">
					<form id="editMaterialCheckForm" action="${ctx }/editMaterialCheck.html" method="post">
						<s:hidden name="material.id"></s:hidden>
						<table cellpadding="0" cellspacing="0" style="margin-left: 30px; width: 350px;">
							<tr>
								<td style="width: 150px;">
									<label>
										成绩单检查：
									</label>
								</td>
								<td>
									<input type="checkbox" id="scoreCheck" name="material.scoreCheck" value="1" <c:if test="${material.scoreCheck ne null }">checked="checked"</c:if> />
								</td>
							</tr>
							<tr>
								<td>
									<label>
										在读证明检查：
									</label>
								</td>
								<td>
									 <input type="checkbox" id="readingCheck" name="material.readingCheck" value="1" <c:if test="${material.readingCheck ne null }">checked="checked"</c:if> />
								</td>
							</tr>
							<tr>
								<td>
									<label>
										个人陈述检查：
									</label>
								</td>
								<td>
									 <input type="checkbox" id="psCheck" name="material.psCheck" value="1" <c:if test="${material.psCheck ne null }">checked="checked"</c:if> />
								</td>
							</tr>
							
							<tr>
								<td>
									<label>
										简历检查：
									</label>
								</td>
								<td>
									<input type="checkbox" id="cvCheck" name="material.cvCheck" value="1" <c:if test="${material.cvCheck ne null }">checked="checked"</c:if> />
								</td>
							</tr>
							
							<tr>
								<td>
									<label>
										推荐信检查：
									</label>
								</td>
								<td>
									 <input type="checkbox" id="rlCheck" name="material.rlCheck" value="1" <c:if test="${material.rlCheck ne null }">checked="checked"</c:if> />
								</td>
							</tr>
							
							<tr>
								<td>
									<label>
										Essay检查：
									</label>
								</td>
								<td>
									  <input type="checkbox" id="essayCheck" name="material.essayCheck" value="1" <c:if test="${material.essayCheck ne null }">checked="checked"</c:if> />
								</td>
							</tr>
							
							<tr>
								<td>
									<label>
										排名证明检查：
									</label>
								</td>
								<td>
									 <input type="checkbox" id="rankingCheck" name="material.rankingCheck" value="1" <c:if test="${material.rankingCheck ne null }">checked="checked"</c:if> />
								</td>
							</tr>
							<tr>
								<td>
									<label>
										荣誉证明检查：
									</label>
								</td>
								<td>
									 <input type="checkbox" id="honourCheck" name="material.honourCheck" value="1" <c:if test="${material.honourCheck ne null }">checked="checked"</c:if> />
								</td>
							</tr>
							<tr>
								<td>
									<label>
										财产证明检查：
									</label>
								</td>
								<td>
									  <input type="checkbox" id="assetsCheck" name="material.assetsCheck" value="1" <c:if test="${material.assetsCheck ne null }">checked="checked"</c:if> />
								</td>
							</tr>
							<tr>
								<td>
									<label>
										GT成绩单检查：
									</label>
								</td>
								<td>
									 <input type="checkbox" id="gtCheck" name="material.gtCheck" value="1" <c:if test="${material.gtCheck ne null }">checked="checked"</c:if> />
								</td>
							</tr>
							<tr>
								<td>
									<label>
										研院材料检查：
									</label>
								</td>
								<td>
									  <input type="checkbox" id="instituteCheck" name="material.instituteCheck" value="1" <c:if test="${material.instituteCheck ne null }">checked="checked"</c:if> />
								</td>
							</tr>
							<tr>
								<td>
									<label>
										材料清单检查：
									</label>
								</td>
								<td>
									 <input type="checkbox" id="materialListCheck" name="material.materialListCheck" value="1" <c:if test="${material.materialListCheck ne null }">checked="checked"</c:if> />
								</td>
							</tr>
							<tr>
								<td>
									<label class="btn">
										<input type="submit" value="修改" />
									</label>
								</td>
								<td>
									&nbsp;
								</td>
							</tr>
						</table>
					</form>
				</div>
			</div>		
		</div>
	</body>
</html>
